#include "createscreen.h"
#include "ui_createscreen.h"
#include "createplayerscreen.h"

CreateScreen::CreateScreen(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::CreateScreen)
{
    ui->setupUi(this);
    createPlayerWindow = new CreatePlayerScreen();
    teamAddWindow= new teamAdd();
}

void CreateScreen::showPlayerCreateScreen()
{
    createPlayerWindow->show();
}

void CreateScreen::showTeamAddScreen()
{
    teamAddWindow->show();
}

CreateScreen::~CreateScreen()
{
    delete ui;
}

void CreateScreen::goBack() {

    this->close();
}
